package com.example.springbootdemo.vo;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.HashMap;
import java.util.Map;

@Component
@Data
@ConfigurationProperties(prefix = "upload")
public class MyConfig {

    String dir;
    // 支持松散绑定
    String webPath;
    String[] likes;
    HashMap<String,Object> citys;

}
